package com.yzk.auction.entity;

/**
 * @author： lys
 * @date： 2020/8/19 23:00
 * @类名： Users
 * @Title： 用户
 */

public class Users {
    private int user_id;        //用户id
    private String user_name;   //用户名
    private String user_pwd;    //密码
    private String user_sex;    //性别
    private String user_head;   //头像
    private double user_salary; //余额
    private String user_tel;    //电话
    private String user_addr;   //住址

    public Users() {
    }

    public Users(String user_name, String user_pwd, String user_sex, String user_head, double user_salary, String user_tel, String user_addr) {
        this.user_name = user_name;
        this.user_pwd = user_pwd;
        this.user_sex = user_sex;
        this.user_head = user_head;
        this.user_salary = user_salary;
        this.user_tel = user_tel;
        this.user_addr = user_addr;
    }

    public Users(int user_id, String user_name, String user_pwd, String user_sex, String user_head, double user_salary, String user_tel, String user_addr) {
        this.user_id = user_id;
        this.user_name = user_name;
        this.user_pwd = user_pwd;
        this.user_sex = user_sex;
        this.user_head = user_head;
        this.user_salary = user_salary;
        this.user_tel = user_tel;
        this.user_addr = user_addr;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getUser_pwd() {
        return user_pwd;
    }

    public void setUser_pwd(String user_pwd) {
        this.user_pwd = user_pwd;
    }

    public String getUser_sex() {
        return user_sex;
    }

    public void setUser_sex(String user_sex) {
        this.user_sex = user_sex;
    }

    public String getUser_head() {
        return user_head;
    }

    public void setUser_head(String user_head) {
        this.user_head = user_head;
    }

    public double getUser_salary() {
        return user_salary;
    }

    public void setUser_salary(double user_salary) {
        this.user_salary = user_salary;
    }

    public String getUser_tel() {
        return user_tel;
    }

    public void setUser_tel(String user_tel) {
        this.user_tel = user_tel;
    }

    public String getUser_addr() {
        return user_addr;
    }

    public void setUser_addr(String user_addr) {
        this.user_addr = user_addr;
    }

    @Override
    public String toString() {
        return "Users{" +
                "user_id=" + user_id +
                ", user_name='" + user_name + '\'' +
                ", user_pwd='" + user_pwd + '\'' +
                ", user_sex='" + user_sex + '\'' +
                ", user_head='" + user_head + '\'' +
                ", user_salary=" + user_salary +
                ", user_tel='" + user_tel + '\'' +
                ", user_addr='" + user_addr + '\'' +
                '}';
    }
}
